package io.gitee.kotle.android.adapter

import androidx.recyclerview.widget.ConcatAdapter
import androidx.recyclerview.widget.RecyclerView

fun recyclerViewConcatAdapter(
    vararg adapters: RecyclerView.Adapter<out RecyclerView.ViewHolder>,
    config: ConcatAdapter.Config = ConcatAdapter.Config.DEFAULT,
) = ConcatAdapter(
    config,
    *adapters
)